#include<stdio.h>
#include<stdlib.h>
#include<windows.h>
#include<string.h>
int main()
{
	int y = 10;
	int i, j;
	while (1)
	{
		for (i = 1; i <= y; i++)
		{
			for (j = 1; j <= i; j++)
				printf("\n");
			Sleep(30);
			printf("     o");
			system("cls");
		}
		for (i = 10; i >=1; i--)
		{
			for (j = 1; j <= i; j++)
				printf("\n");
			Sleep(30);
			printf("     o");
			system("cls");
		}
	}
	system("pause");
	return 0;
}


















